package com.ssit.answer.service.api.${packageDir};

import java.util.List;
import com.ssit.answer.domain.${packageDir}.${className};
import com.ssit.answer.dto.page.Page;
/**
* 描述:<br/>
* ${comment!""} - Service接口定义
*
* @author ${author} ${.now?string("yyyy年MM月dd日")}
*/
public interface I${className}Service {

	/**
	 * 新增信息
	 * 
	 * @param ${className?uncap_first} 对象信息
	 */
	void add${className}(${className} ${className?uncap_first});

	/**
	 * 删除信息
	 * 
	 * @param ${className?uncap_first} 对象信息
	 */
	void delete${className}(${className} ${className?uncap_first});

	/**
	 * 修改信息
	 * 
	 * @param ${className?uncap_first}对象信息
	 */
	void update${className}(${className} ${className?uncap_first});
	
    /**
    * 根据条件查询信息
    * @param searcher 对象信息
    * @return ${className?uncap_first}
    * @author ${author} ${.now?string("yyyy年MM月dd日")}
    */
    ${className} find${className}(${className} ${className?uncap_first});

    /**
    * 查询信息列表
    * @param ${className?uncap_first} 对象信息
    * @return List<${className}>
    * @author ${author} ${.now?string("yyyy年MM月dd日")}
    */
    List<${className}> list${className}(${className} ${className?uncap_first});

    /**
    * 查询信息列表
    * @param ${className?uncap_first} 对象信息
    * @return List<${className}>
    * @author ${author} ${.now?string("yyyy年MM月dd日")}
    */
    Page<${className}> page${className}(${className} ${className?uncap_first});
}